//---------------------------------------------------------------------------

#ifndef DigitalsimulatorH
#define DigitalsimulatorH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include <Vcl.ComCtrls.hpp>
#include <Vcl.ActnCtrls.hpp>
#include <Vcl.ActnMan.hpp>
#include <Vcl.ActnMenus.hpp>
#include <Vcl.ToolWin.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <Vcl.Menus.hpp>
#include "OWLComps.hpp"
//---------------------------------------------------------------------------

class TForm1 : public TForm
{
__published:	// Von der IDE verwaltete Komponenten
	TTreeView *TreeView1;
	TMainMenu *MainMenu1;
	TMenuItem *Datei1;
	TMenuItem *Simulation1;
	TMenuItem *Beenden1;
	TMenuItem *Simulation2;
	TMenuItem *Beenden2;
	TMenuItem *Lschen1;
	TMenuItem *Starten1;
	TMenuItem *Stoppen1;
	TPopupMenu *PopupMenu1;
	TMenuItem *extboxerstellen1;
	TScrollBox *ScrollBox1;
	TPanel *Panel1;

	void __fastcall Beenden1Click(TObject *Sender);
	void __fastcall Panel1ScrollbarDragDrop(TObject *Sender, TObject *Source, int X, int Y);
	void __fastcall Panel1ScrollbarDragOver(TObject *Sender, TObject *Source, int X, int Y, TDragState State,
          bool &Accept);
	void __fastcall Panel1ScrollbarMouseMove(TObject *Sender, TShiftState Shift, int X, int Y);
	void __fastcall Panel1ScrollbarMouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift,
          int X, int Y);
	void __fastcall Panel1ScrollbarMouseUp(TObject *Sender, TMouseButton Button, TShiftState Shift,
          int X, int Y);






private:	// Anwender-Deklarationen
public:		// Anwender-Deklarationen
	__fastcall TForm1(TComponent* Owner);
	bool select;
	int select_x;
	int select_y;
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
